5-benzyl pyrimidines intermediates therefore, and method

ABSTRACT

Compounds comprising selected N-substituted Beta -amino- Alpha -benzyl-acrylonitriles and methods of preparing said compounds substantially free from the corresponding benzalacrylonitrile. The compounds are useful as intermediates in the preparation of antibacterial and antimalerial agents.

United States Patent Cresswell et a1.

[ Dec. 17, 1974 S-BENZYL PYRIMIDINES INTERMEDIATES THEREFORE, AND METHOD Inventors: Ronald M. Cresswell, Raleigh; John W. Mentha, Washington; Russell L. Seaman, Chapel Hill, all of NC.

Assignee: Burroughs Wellcome Co., Research Triangle Park, NC.

Filed: July 25, 1972 Appl. No.: 274,855

Related [1.8. Application Data Division of Ser. No. 16,606, March 4, 1970, Pat. No. 3,697,512.

Foreign Application Priority Data Mar. 6, 1969 Great Britain 11908/69 Mar. 6, 1969 Great Britain 11909/69. May 16, 1969 Great Britain 25171/69 June 13, 1969 Great Britain 30247/69 1U.S. C1. 260/465 E, 424/251, 260/240 R, 260/256.4 N, 260/465 F, 260/465 K,

Int. Cl. C07c 121/42 Field of Search 260/465 E, 240 R [56] References Cited UNITED STATES PATENTS 3,697,512 10/1972 Cresswell et a1. 260/240 R FOREIGN PATENTS OR APPLICATIONS 957,797 5/1964 England 260/240 R OTHER PUBLICATIONS Houben-Weyl, Methoden der Organischen Chemie, V01. 11/1, pp. XLV to XLVI and 178 to 186, Georg Thieme, Verlag, Stuttgart, Germany, 1957.

Stenbuck et al., J. Org. Chem, Vol. 28, pp. 1983 to 1988 (1963).

Primary Examiner-John D. Randolph Attorney, Agent, or Firm-Dike, Bronstein, Roberts, Cushman & Pfund The compounds are useful as intermediates in the preparation of antibacterial and antimalerial agents.

4 Claims, No Drawings -BENZYL PYRIMIDINES INTERMEDIATES THEREFORE, AND METHOD This application is a division of US. Pat. application Ser. No. 16,606 filed Mar. 4, 1970 now US. Pat. No. 3,697,512. r

This invention relates to improved methods of preparing S-benzylpyrimidines and more particularly is related to a class of stable a-benzylacrylonitrile intermediates, and to methods of making such compounds.

2,4,-Diamino-S-benzylpyrimidines possess both antimalarial and antibacterial activities (J. Am. Chem. Soc., 1951, 73, 3758). Maximal antibacterial activity ,is found among derivatives which bear electron donating substituents in the benzene nucleus and are unsubstituted in the sixth position of the pyrimidine moiety. 2,- 4-Diamino-5-(3 ',4,5 '-trimethoxybenzyl) pyrimidine or trimethoprim (U.S. Pat. No. 2,909,522) has a moderately broad antibacterial spectrum which includes many of the Gram-positive'species but it is also active against species of the genus Proteus. In common with other 2,4-diaminopyrimidines it is a competitor of folic and folinic acids in microorganisms which require these nutrilites, and it can be shown to inhibit dihydrofolate .reductase in Streptococcus faecalis. A strong potentiative effect is observed when the drug is administered in combination with sulphonamides as a consequence of the sequential blockade of the biochemical pathway which leads to the de novo synthesis of coenzymes F. This potentiation may be demonstrated both in vitro and in experimental infections in mice with Staphyloccoccus and Proteus species.

2,4-Diamino-S-benzylpyrimidines, which includes trimethoprim and 2,4-diamino-5-(3,4-dimethoxybenzyl)pyrimidine or diaveridine and 2,4-diamino-5- (3 ,4'-dimethoxy-5-bromobenzyl )pyrimidine (US. Pat. No. 2,658,897), may be administered orally at a dose of 1 mg/kg to 30 mg/kg per day.

Preferably these compounds are administered in tablet form to a mammal being treated, and trimethoprim may advantageously be combined with sulphamethoxazole against certain respiratory infections. A further example of this class is 2,4-diamino-5-(2'-methyl-4',5'- dimethoxybenzyl)pyrimidine (ormetoprim), which has been reported to show antibacterial activity, and also has coccidiostatic properties when combined with sulphadimethoxine.

A new route was developed some years ago for the preparation of 2,4-diamino-S-benzylpyrimidines (see Stenbuck, Baltzly and Hood, J. Org. Chem, 1963, 28, 1983 and British Patent Specification No.957,797). This route comprises the steps of (i) condensing an aromatic aldehyde with a B-substituted propionitrile in the presence of both an alcohol as solvent and a strong base to give a mixture of isomers of formulae (la) and wherein Ar is an optionally substituted phenyl group, Y is an alkoxy, thioalkyl or dialkylamino group, and Z is the group Y or is an alkoxy group derived from the solvent alcohol; and (ii) reacting either the pure benzal isomer (la) or a mixture of benzal and benzyl isomers (Ia) and (lb) respectively with guanidine to give a S-benzylpyrimidine of formula Although it was known that the intermediate product obtained in the first step was a mixture of isomers of formulae (Ia) and (b), only the (la) benzal isomer could be isolated in a crystalline form after some purification steps. The two isomers were assumed to be in equilibrium with each other when prepared under alkaline conditions and further reacted with guanidine according to the aforesaid disclosures, but it was not clearly established which of the isomers was primarily interacting in the second step. In many cases this method affords acceptable yields but in certain instances extensive losses (up to about half the material used) ensue from formation of yellow polymers.

The further conversion of composite mixtures of derivatives and isomers according to British Patent Specification No. 957,797, afforded the required 2,4- diamino-S-benzylpyrimidines only in yields between 25 and 45%, and in view of the importance of the final products and the difficulties with by-products and impurities, alternative methods were also explored by various investigators. For instance, the specification of South African Patent Application No. 65/5794 discloses a process comprising the steps of (a) reacting acetylthymine with N-bromosuccinimide to form acetylbromothymine, (b) condensing the product with a substituted benzene, (c) reacting the product with a halogenating agent, and (d) aminating the halogeno derivative. However, this process suffers from the disad vantages that ace tylbromothymine is expensive to make, condensation with the benzene compound does not provide the further intermediate in a high yield, and the last stage requires operation under pressure and usually results in an equilibrium state with consequent poor yields. Altogether the process requires four stages to obtain the final product, and none of the stages is particularly advantageous.

Subsequent developments showed that the polymer formation obtained when operating the process described in the specification of British Patent No. 957,797, could be prevented or reduced in cases of B-alkoxy-derivatives of compounds (la) and (lb) by temporarily saturating the double bond with excess alkoxide in alcohol.

This provides the corresponding acetal of formula (H), for instance, according to the reaction outlined be- MeOH excess NaOMe CN AtCHr-Cfi CH(OM0) When the acetal (ll) is subsequently treated with guanidine in alcoholic solution, the alkaline condition is thought to catalyse the reconstitution of the double bond, initially in the form of (l 'b), and the intermediate can thus react with guanidine to give the desired benzylpyrimidine.

Acetals of formula (Il) may also be prepared by condensing the corresponding aromatic aldehyde with a 3,3-dialkoxypropionitrile and reducing, preferably catalytically, the 3,3-dialkoxy-2-benzalpropionitrile intermediate so obtained. (See U.S. Pat. No. 3,487,083).

The aforesaid British Patent Specification No. 957,797 also describes (Example 14) the reaction of veratraldehyde with B-dimethylaminopropionitrile in the presence of sodium in ethanol to give a mixture of ,B-dimethylaminoveratralnitrile (Ill) and ,B-ethoxyveratralnitrile (IV) in a 32% yield.

MeO

/CN magma.

CHzNMez (III) MeO l /CN CHzO Et It is stated in the Example that this mixture was subsequently cyclised with guanidine to give 2,4-diamino-5- (3,4'-dimethoxybenzyl)-pyrimidine. It is to be noted that both the compounds (Ill) and (1V) above are benzal derivatives.

It has now been found that N-substituted B-amino-abenzylacrylonitriles of the configuration of formula (V) can be prepared remarkably readily under a conveniently wide variety of conditions and that the products so obtained are not only substantially free of contamination with the corresponding benzal isomer but manifest an unexpected stability and capability of maintaining their configuration.

The benzyl configuration of these compounds shows little or no tendency to isomerise into the benzal form prepared and exemplified in the British Patent Specification No. 957,797. Furthermore, the ,B-amino-a-benzylacrylonitriles can be converted into benzylpyrimidines or into other benzyl derivatives, which may be used as preferred for the preparation of benzylpyrimidines or other heterocyclic ring systems.

According to the present invention in one aspect therefore there is provided an N-substituted-B-aminoa-benzylacrylonitrile compound of the formula (V), in a form substantially free from contamination with the ,B-amino-a-benzylidenepropionitrile isomer. In particular the contamination with the benzal' isomer is normally substantially below taken as a percentage of the amount of compound of formula (V), and preferably below 5 or, still better, below 2%. Usually the best methods for making the compound of formula (V) provide the product with less than 0.5% contamination and frequently no benzal isomer can be detected at all with analytical methods sensitive to even as low as 0.33% admixture. It has, on the other hand, been observed that contamination at or above the 10% level adversely affects the yield and quality of the final benzylpyrimidine product, and the appearance of purple or yellow discolourisation may aggravate the difficulties, especially isolation in a pure form, an essential requirement when the product is to be used clinically, there therefore being necessary many tedious, timesconsuming and accordingly expensive purification steps.

As previously defined Ar is an optionally substituted phenyl group in formul (V). The B-amino groupd NR R is an aliphatic, heterocyclic or aromatic amino group, and can have only one hydrogen atom for R and R. In general it may be stated that, as a free amine, l-lNR R is preferred to have a pKa value not lower than about 0, and also most preferably not higher than about 6.

In particular, it is especially preferred that the NR R group is a primary anilino group (e.g. aniline, o and p -toluidine p-anisidine, p-chloroaniline, 2,5 and 3,4 dichloroanilines). The phenyl ring of this group may be optionally substituted with one or more substituents such as halogen atoms, and alkyl and alkoxy groups, but the unsubstituted anilino group is, however, particularly preferred.

The NR R group may also be a primary amino group other than the aforesaid primary anilino group, such as a monoalkylamino, benzylamino, or naphthylamino, preferably a-B-naphthylamino group; or may be a secondary amino group, such as a dialkylamino, N-ethylanilino, pyrrolidino, piperidino, N-methylanilino or a piperazino group, or most preferably the morpholino group.

In particular the invention provides compounds of formula (Vlll), in a form substantially free from contamination with the ,8-amino-4-benzylidenepropionitrile isomer, as hereinbefore defined:

(VIII) wherein the group NR R is as hereinbefore defined with reference to a compound of formula (V), and R, R R and R are the same or different and each is a hydrogen or a halogen atom, an alkyl, alkoxy, or benzyloxy group, or R and R taken together may be a methylendioxy group when both R and R are hydrogen atoms. Preferably the whole amino group NR R comprises not more than 12 carbon atoms.

All of the above compounds of formula Vlll are convertible to benzyl pyrimidines and such pyrimidines are useful as antibacterials.

ln formulae (V) and (Vlll), and elsewhere in this application each of the alkyl or alkoxy groups in the substituents may have from 1 to 4 carbon atoms, e.g. they may be methyl, ethyl, propyl or butyl groups, including normal, iso or tertiary branched forms, and corresponding alkoxy groups. Each of the halogen atoms may be represented by a chlorine, bromine, fluorine or iodine atom.

More particularly the para-position of the phenyl group may be substituted with a benzyloxy, but preferably an alkoxy group, such as a methoxy group, especially with a similar or identical alkoxy substitution at one or advantageously both adjacent positions on the phenyl ring. As another possibility alkoxy, e.g. methoxy substitution, in such positions may be combined with an alkyl, e.g. methyl, substitution at the ortho-position of the phenyl group.

The compounds of formulae V (or VIII) fall into two classes A and B dependent on their reactivity towards guanidine.

1 R2 CN CH;C

Ra CHNHPh VIII A Wherein Ph is an aryl group of 6 to 12 carbon atoms which may be substituted in one, two, or three positions with lower alkyl, lower alkoxyl, and halogen, preferably chlorine and where the R,R are defined as previously and lower alkyl halogen and lower alkoxyl are as previously defined. Compounds of type VIII A react readily with guanidine in e.g. solvent lower alcohol solution to form 2,4-diamino-S-benzylpyrimidines in good yield. Advantageously the reaction is conducted at the reflux temperature of the solution, but useful rates are found at lower temperatures down to room temperatures. These compounds are consequently preferred.

The compounds of formula VIII B wherein R is alkyl or aryl and R is alkyl and may also be hydrogen when R is alkyl and NR R may also be cyclic amino such as morpholino, piperidino and pyrrolidino, react only slowly with guanidine base, so that periods of l-2 weeks would be required for complete reaction. They can be converted to pyrimidines by reaction with guanidine carbonate in a polar aprotic solvent (as defined below but preferably DMSO) at an elevated temperature. This reaction is slow below 140C but goes rapidly at about 160C or above.

The compounds according to formula (V) or (VIII), respectively, may be prepared by a wide variety of methods. The actual choice between these methods in any particular instance depends primarily on the reactivity of the compound obtained, and the further processing to which it may be subjected to provide compounds such as pyrimidines of clinical utility, the further processing being itself governed to a great extent by the nature of the amino group NR R this acting as a leaving group in the further reactions.

Compounds according to formula (V) or (VIII) can be prepared by a method provided by the present invention, which comprises reacting the corresponding benzaldehyde with the corresponding B-aminopropionitrile in the presence of a base in a polar aprotic solvent compatible with and dissolving both reactants.

Polar aprotic solvents suitable for the purpose include hexamethylphosphoramide and N,N- dimethylacetamide, but best results have been obtained with dimethylsulphoxide as the solvent. Bases required for the reaction include the hydroxide, the alkoxides, especially the lower alkoxides, preferably the methoxide or tert.-butoxide anions, and the methylsulphinyl carbanion, used in association with a suitable cation, such as an alkali metal (e.g. sodium or potassium) or a quaternary ammonium cation (e.g. N-benzyl-N,N,N- trimethylammonium).

Advantageously, the amount of base can be considerably reduced to catalytic amounts", i.e. effective quantities of less than about 0.3 molar equivalant calculated on the aldehyde used, particularly at temperatures above 60C, preferably between C and C. For instance, very good yields have been obtained in this manner using dimethylsulphoxide as the solvent.

Very satisfactory yields have also been obtained, for instance, with B-primary anilinosubstituted compounds with 0.5 to 2 molar equivalents of the base at room (about 20 C) or slightly elevated temperature up to about 60C in the solvent. Dimethylsulphoxide may be replaced under these conditions as well as by other polar aprotic solvents, expecially hexamethylphosphoramide. It has been found most advantageous to use t-butoxide as the base in the form of the potassium salt in dimethylsulphoxide for the preparation of B-anilinosubstituted compounds whilst, for instance, the B-morpholino-analogue may be preferred to be formed in the presence of sodium methoxide in the same medium.

Yet further methods provided by the present invention may be used to obtain selected or preferred ranges of compounds within the scope of formula (V) or (VIII). Accordingly, a method is provided for preparing such compounds, wherein the B-amino group NR R is a primary anilino group optionally substituted in the phenyl ring, as hereinbefore defined, which comprises reacting the corresponding benzaldehyde with the corresponding B-primary-anilino-propionitrile. Preferably the reaction is carried out in a polar nonaprotic solvent compatible with and dissolving the reactants in the presence of a base. Conveniently an alkanol may be used for the purpose, and the reaction is desirably carried out at elevated temperatures, say between 40 and 80 C. The preferred alkanol is methanol, particularly when the reactant benzaldehyde is substituted with one or more methoxy groups, sincce it is possible for exchange to take place between the solvent and the substituents. Bases already listed in relation to the other preparatory methods are again applicable, and may, for instance, be used in a quantity molar equivalent calculated on the aldehyde, especially when the reaction is carried out at the lower end of the indicated temperature range.

Compounds according to formula (V) or (VIII) can also be prepared by reacting the corresponding B-hydroxy-B-phenethylmethylsulphone or sulphoxide with the corresponding B-amino-propionitrile. Very preferably the reactions carried out in the presence of a base in a polar non-aqueous solvent compatible with and dissolving both reactants of elevated temperature above 30C. The solvent may be an alkanol, such as methanol,

ethanol or isopropanol, or most conveniently a polar aprotic solvent such as exemplified above. The base is preferably sufficiently strong on its own for a significant amount of the sulphone or sulphoxide reactant to be converted into the anionic form. Again hydroxides or alkoxides, preferably methoxide or t-butoxide, in the form of an alkali metal salt, have been found very convenient for the purpose. The method is especially suitable for making Type Vlll A.

The required B-hydroxy-B-phenethylmethylsulphone or sulphoxide for the above method, may conveniently be provided by a process described in the provisional specification of British Patent Application No. 25171/69. This process comprises the steps of reacting an appropriately substituted benzoic ester with dimethyl sulphone or dimethyl sulphoxide preferably in the presence of a base, and selectively reducing the so obtained acetophenone methylsulphone or methylsulphinyl derivative, for instance, with a suitable reducing agent erg. borohydride or with aluminium isopropoxide.

The above defined group of B-primary-anilino-abenzylacrylonitriles can also be prepared by a method which comprises reacting the corresponding aniline, generally in the form of an acid addition salt, with a compound of formula (V) or (Vlll) carrying an amino substituent which has, as the free amine HNR R a pKa value higher by at least about 3 to 4 units than that of the aniline used for the reaction. For instance, a morpholino substituent may, in this manner, by directly replaced by an anilino substituent, morpholine having a pKa value of about 8.6 and the aniline generally about 4 to 5. Preferably the reaction is carried in a polar nonaqueous solvent system, for instance, ethanol or glacial acetic acid, at reflux temperatures.

The compounds Vlll A are also preparable by reaction of PhNH- with B-hydroxy-a-benzylacrylonitriles:

This reaction is conveniently carried out in an organic solvent such as benzene or a lower alcohol or without solvent, and where Ph is as previously defined or PhNH could also be NR R where this is as previously defined,

The B-hydroxy-a-benzylacrylonitriles are prepared in exemplary fashion by acidification of a partly aqueous solution of a compound of type Vlll B wherein R and R are not aromatic. For this variation in aqueous alcohol Vlll B is converted to the hydroxy compound X almost instantaneously and in nearly quantitative yield.

The product may then be extracted with an organic solvent from the aqueous medium and reacted with a different amine to obtain a compound according to formula (V) or (Vlll). There is little or no tendency to isomerize to the benzal form during these manipulations.

Such a conversion from one amino derivative to another may be achieved in a very high yield, in many instances above 90% in both steps, and the product so obtained can be reacted to form other materials such as benzylpyrimidines in a quality and yield often even better than that provided by using the original B-aminoderivative.

In addition, this method may be very advantageous for preparing certain B-amino-a-benzylacrylonitriles, especially in cases where the NR R group is but only weakly basic anilino group, e.g. p-chloro-anilino. In such instances, there are sometimes difficulties in preparing the corresponding B-anilino-propionionitrile for reaction with the benzaldehyde.

The ,B-hydroxy-a-benzylacrylonitriles may also be used as intermediates for further syntheses, and can, for instance, be alkylated to provide the appropriate B-alkoxy-a-benzylacrylonitrile, substantially free from the benzal isomer or acetal. The benzyl compound so formed and in such purity is also eminently suitable as a starting material for the synthesis of benzylpyrimidines, and provides the latter in a substantially in- 4 creased yield and at a better quality than the mixture of benzyl and benzal isomers, or the benzal isomer alone, of the method described in British Patent Specification No. 957,797.

Compounds according to formula (V) or (Vlll), wherein the B-amino group NR R is a primary amino group other than anilino, or is a secondary amino group, can also be prepared according to the present invention by reacting the corresponding B-alkoxy-abenzylidenepropionitrile with an excess of the appropriate amine in the presence of a base in an alkanol. Suitable bases are again those already listed for other methods. Preferably the base is the alkoxide corresponding to the solvent. For instance, a ,B-methoxide-abenzylidenepropionitrile may be so converted with morpholine, in methanol containing sodium methoxide, to the corresponding ,B-morpholino-ozbenzylacrylonitrile.

The above group of compounds according to formula (V) or (Vlll), wherein the B-amino-group NR"R is other than the anilino group, can moreover be prepared according to the present invention by isomerising the corresponding fl-amino-a-benzylidenepropionitrile isomer with a base in a polar aprotic solvent. Under these conditions the benzal is isomerised into the benzyl" form, there appearing to be little or no benzal isomer after the process. Suitable aprotic polar solvents and bases are as hereinbefore described with reference to other reactions, and the most preferred solvent is again dimethylsulphoxide and the most convenient bases are the methoxide and t-butoxide anions. Normally there is at least about 0.01, and preferably about 0.1 molar concentration of base present in the solvent, and often not more than about 1 molar concentration, though as high as 2 or even 4 molar concentrations may be used. The quantity of solvent is not critical though there is preferably sufficient throughout the isomerisation to dissolve the nitrile. The isomerisation can be effected at room temperature but is most conveniently carried out in the presence of heat, particularly good yields being obtained when it is carried out at a temperature above about 20C. and up to about C. or even higher. The method has been very successfully applied to fi-morpholino-a-benzylidenepropionitriles, in particular to those having a 3,4- dimethoxy or 3,4,5-trimethoxy-benzylidene group.

The starting benzal isomer, i.e. the appropriate B-amino-a-benzylidene-propionitrile, for the purposes of the above reaction, can advantageously be prepared by reacting the corresponding benzaldehyde with the corresponding B-amino-propionitrile in an alkanol in the presence of a catalytic amount of a base, in the sense hereinbefore used in the present specification, which means an effective quantity of less than 0.3 molar equivalent calculated on the aldehyde reagent.

Alkanols in this reaction are generally lower alkanols, having from 1 to 4 carbon atoms, methanol being particularly preferred. Suitable bases are again those already suggested in connection with base catalysed condensation reactions, but methoxides and ter.- butoxides, particularly the former, are preferred for the present purpose. Best results may be obtained at elevated temperatures, and it is particularly preferred to carry out the reaction at reflux temperatures.

As already indicated, the optimum route for preparing any particular compound according to formula (V) or (Vlll) may comprise a combination of a number of the above processing possibilities, depending primarily on the type of amino NR R group required. For instance, B-primary-anilino-a-3',4',5-trimethoxybenzylacrylonitrile has certain especial advantages as an intermediate for the preparation of trimethoprim. Thus, the reaction of guanidine with B-primary-anilino a-benzylacrylonitriles generally proceeds appreciably faster than that with other'B-amino derivatives as defined by formula (V) or (Vlll).

The B-anilino-intermediate can moreover be produced readily without any benzal' isomer detectable by standard analytical methods, and can be further processed to 2,4-diamino--benzylpyrimidines in a very high yield there being little or no polymer formation at all. It is most noteworthy that the reaction with guandine is readily effected under mild conditions, and both the preparation of the intermediate and the further processing may be completed within hours rather than weeks.

Whilst B-primary-anilino-a-benzylacrylonitriles may be readily prepared by a wide variety of advantageous methods, the choice in any particular instance depends partly upon the availability of the starting material, and, for instance, B-anilino-propionitrile, when prepared from aniline and acrylonitrile, usually requires isolation and purification before use. In contrast, the corresponding B-morpholinopropionitrile can be readily formed and need not be isolated. Furthermore, in cases of trimethoxy-substituted benzyl derivatives, and base catalysed reactions, the cheaper and more widely available sodium methoxide is preferred for morpholino-derivatives, whilst the more expensive potassium t-butoxide generally gives best results for anilinocompounds. It may therefore on occasion be advantageous to prepare the morpholino-intermediate first and convert this into the corresponding anilino derivative to obtain optimum results.

According to the present inventionin a further aspect there is provided a method of preparing 2,4- diamino-S-benzylpyrimidines as shown in formula lX which are useful as antibacterials, wherein the benzyl group comprises an optionally substituted phenyl group, by reacting the corresponding B-amino-abenzylacrylonitrile of formula (V), substantially free from contamination with the B-amino-a-benzylidenepropionitrile isomer, as hereinbefore defined, with guanidine. In particular a method is provided of preparing a compound of formula (IX) which comprises reacting a compound of formula (Vlll) substantially free from contamination with the B-amino-a-benzylidenepropionitrile isomer, as hereinbefore defmed, with guanidine; in formula (IX) R, R R and R are as defined for formula (Vlll). [t has been found that the pyrimidine products are obtained in a satisfactorily high yield as well as without contamination with polymers and coloured impurities. These aspects are of critical importance as indicated hereinbefore, since contemporary requirements for the purity of pharmaceutical products are very stringent and the products must be manufactured in a very pure form and, of course, at a reasonable cost. Both these necessities are now more readily attainable, as a result of the present invention, for the benzylpyrimidines.

To obtain S-benzylpyrimidines having particularly high acitivity, or potentiating properties, the para position of the phenyl group is preferably substituted with an alkoxy, i.e. methoxy group, especially in combina tion with a similar substitution at one or both adjacent meta positions. Such substitutions may also be present when at least one of the ortho-positions is occupied by a lower alkyl group, such as methyl. The pyrimidines are then trimethoprim, diaveridine, ormetoprim and analogues thereof.

For the purposes of obtaining S-benzylpyrimidines or in particular those of formula (IX) preferably having the above mentioned specific substituents, the appropriate ,B-anilino-derivatives have been found particularly useful. Advantageously such an amine is reacted with guanidine, conveniently in a lower alcohol solvent, for example, methanol, ethanol, or isopropanol, at elevated temperatures. It is particularly preferred that the reaction is carried out at the reflux temperature of the reaction mixture, but useful routes are found at temperatures down to room temperatures. It has been found specifically that the reaction takes place very readily, taking hours rather than weeks for completion.

Although the reactivity with guanidine, of fi-amino-a-benzylacrylonitriles of formula (V) or (Vlll), other than those having a B-primary-anilino group, such as the morpholino derivatives is lower, particularly in alkanols, it has been found that this can be increased and the yield substantially improved if the guanidine is employed in the form of the carbonate in a polar aprotic solvent, as hereinbefore described with reference to other methods, e.g. especially dimethylsulphoxide or hexamethylphosphoramide. Best results have been obtained in these particular cases with dimethylsulphoxide at or near lC; and, if the previous reaction step has also been carried out in the same medium the -Bamino-a-benzylacrylonitrile intermediate need not be isolated, although isolation is usually preferred since purer benzylpyrimidine is obtained in this manner.

All end products provided in the above manner have either antibacterial activity or potentiating properties,

although the degree of such activity and potentiating effect may vary according to substitution and the purpose for which these compounds are employed. Moreover, the products may themselves be used as starting materials to produce other derivatives and analogues by further reactions with functional groups thereon. Thus benzyloxy-benzyl-derivatives may, for instance, be converted into the corresponding hydroxybenzylderivatives by hydrogenation, or any hydroxybenzyl-derivatives alkylated to provide the required alkoxy-benzyl-substituted compounds.

According to the present invention, therefore, there are provided:

i. N=substituted-B-amino-a-benzylacrylonitrile compounds according to formula (V), or, in particular, formula (VIII), substantially free from contamination with B-amino-abenzylidenepropionitrile, as hereinbefore described;

ii. the various methods of preparing B-amino-abenzylacrylonitriles of formula (V) or (VIII), as hereinbefore described;

iii. the various methods of converting such a ,B-amino-a-benzylacrylonitrile into a different compound of the same class with respect of the B-aminosubstitution, as hereinbefore described;

iv. N-substituted ,B-amino-a-benzylacrylonitriles whenever prepared by a method defined under either of paragraphs (ii) and (iii), as hereinbefore described;

v. B-hydroxy-a-benzylacrylonitriles substantially free from contamination with isomers, as hereinbefore described;

vi. the methods of preparing the compounds defined under paragraph (v);

vii. the methods of preparing -benzylpyrimidines by using compounds or products of methods, according to any one of paragraphs (i) to (vi), as hereinbefore described;

viii. S-benzylpyrimides whenever prepared by a method including steps according to any one of paragraphs (ii), (iii), (vi) and (vii).

The present invention, in each of the above aspects, is particularly preferred when the phenyl group is a 3,4- dimethoxy, 3,4,5-trimethoxy or 2-methyl-4,5- dimethoxy group, since there are then produced the especially valuable compounds diaveridine, trimethoprim or ormetoprim, or the respective intermediates therefor.

The following Examples illustrate the invention:

EXAMPLES Example 1 3,4,5-Trimethoxybenzaldehyde (98 g.), B-anilinopropionitrile (85 g.), and dimethylsulfoxide (175 ml.) were heated together to 125C. A solution of sodium methylate (5 g.) in methanol (50 ml.) was gradually added and in so doing the reaction temperature rose to 130C, and this temperature was maintained for a further 17 minutes. The reaction mixture was chilled; water was added to a persistent haze; seeds of B-anilino-a-3,4,5-trimethoxybenzylacrylonitrile were added; and the mixture was stirred at 25C until precipitation was copious. Additional water (400 ml.) was added, and the product was collected by filtration and reslurried in ice water (600 ml.). The collection and reslurry procedures were repeated using cold (-5C) denatured alcohol (320 ml.), and the crystalline B-anilino- 01-3,4,5-trimethoxybenzylacrylonitrile was finally collected; washed with cold denatured alcohol (40 m1.), and hexane (100 ml.). Wt. 115g. (71%; 98% pure by U.V. assay) m.p. 132133C (recrystallised from methanol).

Example 2 3,4,5-Trimethoxybenzaldehyde (49 g.), B-anilinopropionitrile (40 g.), and dimethylsulfoxide (85 ml.) were heated together to 130C, and a solution of potassium hydroxide (2.5 g.) in methanol (12.5 ml.) was added over a 35 min. period. The temperature of the reaction was maintained at l30-135C for an additional 30 min., and the reaction mixture was then treated as in Example 1 to give B-anilino-a-3,4,5- trimethoxybenzylacrylonitrile as a crystalline solid. Wt. 57 g.

Example 3 3,4,5-Trimethoxybenzaldehyde (117.5 g; 0.6 mole, ,B-anilinopropionitrile (101 g.; 0.69 mole), and dry distilled dimethylsulfoxide (348 ml.) were heated together to 40C until solution was complete. The mixture was chilled to 12C and a solution of potassium t-butoxide in t-butanol (13.6%; 491 ml.; 0.6 mole) was added over the course of about 10 min, such that the final temperature was about 30C. The temperature was raised to 40C and maintained for one hour. t-Butanol was then stripped from the reaction using vacuum to a final pot temperature of 55C. The residue was chilled to 30C and water (100 ml.) and denatured ethanol (50 ml.) added. The mixture was seeded and after obvious crystallisation more ice/water (500 ml.) and denatured ethanol (75 ml.) were added. When the final temperature of the mixture was 5-l0C the crystalline B-anilino-a- 3,4,5-trimethoxybenzylacrylonitrile was collected, and washed with a mixture of cold water/denatured ethanol (:15; 600 ml.). Wt= 181.7 g. (94% pure by U.V. assay; yield 88%).

Example 4 3.4-Dimethoxybenzaldehyde (88 g.), B-anilinopropionitrile (82.5 g.), dimethylsulfoxide (160 ml.), and sodium methylate were heated together at 95C for 2% hr. The reaction mixture was then chilled to 25C and diluted with isopropyl alcohol (40 ml.) and water. When crystallisation was obvious further water (200 ml.) was added. The mixture was cooled to 5C and crystalline B-anilino-a-3,4-dimethoxybenzylacrylonitrile was collected and washed with cold water/isopropyl alcohol (1:1). Wt 99 g. (61%) mp. l53l54C (recrystallised from denatured alcohol).

Example 5 Piperonaldehyde (45 g.), B-anilinopropionitrile (52 g.) and dimethylsulfoxide (96 ml.) were heated to gether to 120C and a solution of sodium methylate (2.5 g.) in methanol (12 ml.) was added over a 5 min. period. The temperature was maintained at 1 15120C for 1 hr. and the mixture was then poured into ice-water. The resulting gum was collected by decantation and was likewise washed with water (2 X 100 ml.). Methanol 100 ml.) was then added and the mixture was heated until solution was complete. Cooling to 5C gave B-anilino-a-piperonylacrylonitrile as a crystalline solid which was collected, and washed with cold methanol, ether, and pentane. Wt. =45 g. (54%) mp.

150.5151C (recrystallised from methanol).

*Example a The procedure of Example 3 was repeated using 3,4-

dimethoxy-5-bromobenzaldehyde (78 g.) and gave ,B-a-

nilino-a-3,4-dimethoxy-5-bromobenzylacrylonitrile. Wt. 62 g. (52%) mp. l-154C.

Example 6 Sodium methylate (5.4 g.) in t-butanol (50 ml.) was slowly treated with a solution of 3,4,5-trimethoxybenzaldehyde g.) and ,B-(p-methylanilino)- propionitrile (17.5 g.) in dimethylsulfoxide (50 ml.). The mixture was stirred at 45C for 1 hour and the alcohol then removed in vacuo (bath temperature 50C). The mixture was poured into ice-water and the crude product collected and recrystallised from methanol to give B-(p-methylanilino)-a-3,4,5- trimethoxybenzylacrylonitrile. Wt. G. (89%) mp. 150151C (recrystallised from methanol).

7 Example 7 The procedureof Example 6 was repeated using B-(p-chloroanilino) propionitrile (20 g.) in place of ,B-(p-methylanilino) propionitrile. Wt. of recrystallised ,B-(p-chloroanilino)-a-3,4,5-trimethoxybenzylacrylonitrile 24 g. (67%) mp. l72-173C (recrystallised from methanol).

Example 8 The procedure of Example 6 was repeated using B-(p-methoxyanilino) propionitrile (19.5 g.) in place of B-(p-methylanilino) propionitrile. Wt. of recrystallised B-(p-methoxyanilino)-a-3,4,5-trimethoxybenzylacrylonitrile 11 g. (33%) mp. l25-125C (recrystallised from methanol).

Example 9 2-Methyl-4,5-dimethoxybenzaldehyde (18 g.), dimethylsulphoxide ml.). sodium methoxide (1.0 g.), and B-anilinopropionitrile were heated together at 95C for 1% hr. The mixture was then poured into icewater 150 g.), and the resulting solid collected by decantation. The crude product was recrystallised from methanol (100 ml.) and the resulting B-anilino-oz-(2- methyl-4,5-dimethoxybenzyl) acrylonitrile was collected, and washed with methanol and hexane. Wt. 19 g. (60%) mp ll7-l 19C (recrystallised from ethanol/methanol).

Example 10 p-Benzyloxybenzaldehyde (25g), B-anilinopropionitrile (22 g.), and dimethylsulphoxide (25 ml.) were heated together to 95C, and a slurry of sodium methoxide (1 g.) in dimethylsulphoxide (20 ml.) was carefully added such that the temperature rose to 105C. The mixture was heated to l25l30 and held at that temperature for 1% hr. The reaction mixture was poured into ice-water (500 ml.). and the resulting solid was collected and washed by decantation. The crude product was slurried in cold ethanol to give B-anilino-a-(pbenzyloxybenzyl) acrylonitrile. Wt.

Example 11 fi-Morpholinopropionitrile (47 g.), sodium methox- Example 12 3,4,S-Trimethoxybenzaldehyde (20 g.), B-N- methylanilinopropionitrile (18 g.), dimethylsulphoxide (40 m1.), and sodium methoxide (1 g.) were heated together at 1 10l 15C for 1.5 hr. The mixture was poured into ice-water (800 ml.) and the crude product which precipitated gave crystalline ,B-N-methylanidino- 01-3,4,5-trimethoxybenzylacrylonitrile after a slurry in methanol (50 ml.). Wt. 17 g. (50%) mp. 121-122C (recrystallised from methanol).

Example 12 3,4,S-Trimethoxybenzaldehyde (50 g.), B-piperidinopropionitrile (40 g.), dimethylsulphoxide (60 ml.), and sodium methoxide (2 g.) were reacted together at C for 20 min. and on work-up gave B-piperidino-a-3,4,5-trimethoxybenzylacrylonitrile. Wt. 40 g. (50%) mp 92-93C (recrystallised from methanol).

Example 14 3,4,S-Trimethoxybenzaldehyde (25 g.), B-pyrrolidinopropionitrile (20 g.), dimethylsulphoxide (25 ml.) and sodium methoxide (l g.) were reacted together at 75C for 10 min., and on work-up gave ,B-pyrrolidino-a-B,4,5-trimethoxybenzylacrylonitrile. Wt. 28 g. (75%) mp. 123124C (recrystallised from methanol).

Example 15 3,4,5-Trimethoxybenzaldehyde (25 g.), B-N-dimethylaminopropionitrile (16 g.), dimethylsulphoxide (45 ml.). and sodium methoxide (l g.) were reacted together at 70C for 10 min., and on work-up gave B-dimethylamino-a-3,4,5-trimethoxybenzy1acrylonitrile. Wt. 25 g. (73%) mp. l22-l23C (recrystallised from methanol).

Example 16 3,4,5-Trimethoxybenzaldehyde (50 g.), B-benzylaminopropionitrile (45 g.), dimethylsulphoxide ml.), and sodium methoxide (2 g.) were heated together at 100C for 2 hr., and on work-up gave B-benzy1amino-a-3,4,5-trimethoxybenzylacrylonitrile. Wt. 32 g. (37%) mp. 130.5-131C (recrystallised from methanol).

Example 17 3,4,5-Trimethoxybenzaldehyde (25 g.), B-morpholinopropionitrile (20 g.), sodium methoxide (2 g.), and N,N-dimethylacetamide (25 ml.) were reacted .together at -95C for 1 /2 hr. and on work-up gave B-morpholino-a-3,4,5-trimethoxybenzylacrylonitrile. Wt. 15 g. (37%).

Example 18 Example 19 The procedure of Example 18 was repeated using B-dimethylaminopropionitrile (28 g.) in place of B-morpholinopropionitrile, and on work-up gave B-dimethylamino-a3,4-dimethoxybenzylacrylonitrile. Wt. 31 g. (50%) m.p. 8586C (recrystallised from methanol).

Example 20 B-Morpholinopropionitrile (20 g.), dimethylsulphoxide (30 ml.). and sodium methoxide (l g.) were heated together at 80C and a solution of piperonaldehyde (19 g.) in dimethylsulphoxide was added. The mixture was reacted at 80C for 15 min., and on workup gave B-morpholino-a-piperonylacrylonitrile. Wt. 21 g. (61%) m.p. 8585,5C (recrystallised from methanol).

Example 21 The procedure of Example 20 was repeated using 3,- 4-dimethoxy-S-bromobenzaldehyde (31 g.) in place of piperonaldehyde and on work-up gave B-morpholino- 01-3,4-dimethoxy-5-bromobenzylacrylonitrile. Wt. 28 g. (60%) m.p. 94.5-95C (recrystallised from denatured ethanol).

Example 22 B-Hydroxy-a-B,4,5-trimethoxybenzylacrylonitrile 132 g.), obtained as hereinafter described in Example 62, was refluxed for 10 min. in benzene containing aniline (50 g.). The solvent was removed by exaporation in vacuo to provide crystalline B-anilino-a-3,4,5- trimethoxybenzylacrylonitrile (l65 g.; virtually theoretical yield).

Example 23 A solution of morpholine (10 ml.) and B-hydroxy-a- 3,4.5-trimethoxybenzylacrylonitrile (24.9 g.) in ethanol (100 ml.) was refluxed for 30 min. When cooled the reaction gave B-morpholino-oz-3,4,5-trimethoxybenzylacrylonitrile. Wt. 27 g. (85%) m.p. ll6l 17C.

Example 24 [3-Hydroxy-B-3,4,5-trimethoxyphenethylmethylsulphone (29 g.), B-anilinopropionitrile (16.5 g.). and dimethylsulphoxide (40 ml.) were heated together to 40C. and a solution of potassium-t-butoxide in tbutanol (13.6%;83 ml.) was carefully added. The temperature was maintained at 45C for 1 hr. Alcohol was then removed from the reaction mixture by vacuum evaporation and the residue was poured into ice-water (200 ml.). The crude crystalline product was collected and recrystallised from ethanol to give B-anilino-a- 3,4,5-trimethoxybenzylacrylonitrile. Wt. 26 g. (after washing with ethanol and hexane;%).

Example 25 The procedure of Example 24 was repeated using hexamethylphosphoramide (40 ml.) in place of dimethylsulphoxide, and on work-up B-anilino-a-3,4,5- trimethoxybenzylacrylonitrile was obtained. Wt. 26 g. (80%) m.p. l26l28C.

Example 26 B-Hydroxy-B-3,4,5-trimethoxyphenethylmethylsulphone (5 g.), ,B-anilinopropionitrile (3 g.) dimethylsulphoxide (20 ml.). and a solution of potassium hydroxide in methanol (20%; 2 ml.) were reacted together at -95C for 20 min. Work-up gave B-anilino-a-3,4,5-trimethoxybenzylacrylonitrile (3 g.; 53%). m.p. l26-l29C (recrystallised from ethanol).

Example 27 The procedure of Example 26 was repeated using hexamethylphosphoramide (20 ml.) in place of dimethylsulphoxide and on work-up gave 62 -anilino-a3,4,5- trimethoxybenzylacrylonitrile (2 g.; 36%) m.p. l25l27C (recrystallised from ethanol).

Example 28 The procedure of Example 26 was repeated using sodium methoxide (0.5 g.) in place of potassium hydroxide in methanol, and on work-up gave B-anilino-a- 3,4.5-trimethoxybenzylacrylonitrile. Wt. 3 g. (54%) m.p. l28-l30C.

Example 29 ,B-Hydroxy-B-3,4,S-Irimethoxyphenethylmethylsulphone (10 g.), B-anilinopropionitrile (5.1 g.), hexamethylphosphoramide (20 ml.). and sodium methoxide (1 g.) were reacted together at 60C for 30 min., and on work-up gave B-anilino-a-3,4,5-trimethoxybenzylacrylonitrile. Wt. 6 g. (54%) m.p. l27-l29C.

Example 30 The procedure of Example 28 was repeated using N,N-dimethylacetamide (25 ml.) in place of dimethylsulphoxide, and on work-up gave B-anilino-a3,4,5- trimethoxybenzylacrylonitrile. Wt. =2.5 g. (45%) m.p. l25l23C.

Example 3 l B-Hydroxy-B-3,4,S-trimethoxyphenethylmethylsulphoxide (5.4 g.), B-anilinopropionitrile (3 g.), dimethylsulphoxide (25 ml.). and sodium methylate (0.5 g.) were reacted together at 9095C for 1 hr. The mixture was then poured into ice-water; the solid collected; and recrystallised from denatured ethanol to give B-anilino-a-3,4,5-trimethoxybenzylacrylonltrile. Wt. 2 g. (30%) m.p. l25l27C.

Example 32 The procedure in Example 31 was repeated using potassium hydroxide (2 g.) in methanol (5 ml.) in place of sodium methoxide, and on work-up gave B-anilino- 01-3,4,5-trimethoxybenzylacrylonitrile. Wt. 2 g. (30%) m.p. l25l28C.

Example 33 The procedure in Example 31 was repeated using hexamethylphosphoramide in place of dimethylsulphoxide and sodium methylate (2 g.), and on work-up gave 62 -anilino-oz-3,4,5-trimethoxybenzylacrylonitrile. Wt. 2 g. (30%) mp. 125-129C.

Example 34 The procedure in Example 31 was repeated using potassium-t-butoxide in t-butanol (13.6%; 15 ml.) in place of sodium methoxide, and on, work-up gave B-anilino-a-3,4,5-trimethoxybenzylacrylonitrile. Wt. l g. (15%) mp. l28l30C.

Example 35 The procedure in Example 34 was repeated using hexamethylphosphoramide (25 ml.) in place of dimethylsulphoxide, and on work-up gave ,B-anilino-a-3,4,5- trimethoxybenzylacrylonitrile. Wt. l g. (15%) mp. l23l26C.

Example 36 B-Morpholinopropionitrile (3.0 g.), B-hydroxy-B- 3,4,5-trimethoxyphenethylmethylsulphone (2.9 g.), sodium methoxide (0.3 g.) and hexamethylphosphoramide (6 ml.) were reacted together at 6065C for 40 min., and then poured into ice-water (50 ml.). The crude solid was collected by decantation and recrystallised from ethanol ml.) to give B-morpholino-oz- 3,4,5-trimethoxybenzylacrylonitrile. Wt. 2 g. (*60%).

Example 37 The procedure in Example 36 was repeated using benzyltrimethylammonium hydroxide in place of sodium methoxide and on work-up B-morpholino-a- 3,4,5-trimethoxybenzylacrylonitrile was obtained in 50% yield.

Example 38 3,4,5-Trimethoxybenzaldehyde (40 g.), ,B-anilinopropionitrile (44 g.), sodium methoxide (32 g.), and methanol were heated together under reflux for 45 min. The reaction mixture was then poured into icewater (200 ml.) and the resulting thick oil was collected and washed by decantation. Recrystallisation from ethanol gave crystalline 62 -anilino-a-3,4,5- trimethoxybenzylacrylonitrile. Wt. =42 g. (after washing with ethanol and pentane; 64%).

Example 39 3,4-Dimethoxybenzaldehyde (41.5 g.), B-anilinopropionitrile (38.5 g.), sodium methoxide (40 g.) and methanol (200 ml.) were reacted under reflux for 3 hr. The solvent was then removed exaporation in vacuo and the resulting paste was recrystallised from methanol to give B-anilino-a-3,4-dimethoxybenzylacrylonitrile. Wt. 55 g. (75%) mp. l53-l54C (recrystallised from ethanol).

Example 40 B-Morpholino-a-3,4,5-trimethoxybenzylacrylonitrile (318 g.), aniline (107 g.) and glacial acetic acid (69 g.) were heated together at 95C for 45 min. Isopropanol (300 ml.) was then added and the mixture was cooled to 30C; seeded; and treated with water (300 ml.) after crystallisation was obvious. Filtration gave B-anilino-oz- 3,4,5-trimethoxybenzylacrylonitrile. Wt. 296 g. (after washing with water and isopropanol; 91%).

Example 41 Aniline hydrochloride, from aniline 10 g.) and cone. hydrochloric acid (12 ml.), and ,B-morpholino-a-3,4,5- trimethoxybenzylacrylonitrile (30 g.) were reacted together in refluxing isopropanol (50. ml.) for 15 min. Water (25 ml.) was added and on cooling crystals of B-anilino-a-3,4,5-trimethoxybenzylacrylonitrile were obtained Wt. 29 g.

Example 42 Example 43 3,4,5-Trimethoxybenzaldehyde (25 g.), 62 -morpholinopropionitrile (20 g.), methanol (50 ml.), and sodium methoxide (1 g.) were heated together under reflux for 72 hr. Solvent was then removed in vacuo and the residue was crystallised from diethylether (100 ml.) to give B-morpholino-a-3,4,5-trin1ethoxybenzylidenepropionitrile. Wt 18 g. (44%) mp. l00.5-102C (recrystallised from methanol).

Example 44 3,4-Dimethoxybenzaldehyde (21 g.), ,B-morpholinopropionitrile (22 g.), sodium methylate (l g.) and. methanol ml.) were heated together under reflux q ZQJLWQtk-HP a n atnp g B- rPh o-a3 ,4-dimethoxybenzylidenepropionitrile. Wt. 25 g. (67%) mp. 9597C. (recrystallised from. methanol).

Example 45 The procedure of Example 43 using B-piperidinopropionitrile (20 g.) gave B-piperidino-a-3,4,5-

trimethoxybenzylidenepropionitrile. Wt. 32 g. (79%) mp. 6062C (recrystallised from isopropanol).

Example 46 The procedure of Example 43 using B-pyrrolidinopropionitrile (20 g.) gave 62 -pyrrolidino-a-3,4 ,5- trimethoxybenzylidenepropionitrile as an oil. Wt. 37 g. (96%).

Example 47 The procedure of Example 43 using 62 -dimethylaminopropionitrile (18 g.) gave B-dimethylaminoa-3,4,S-trimethoxybenzylidenepropionitrile. Wt. 20. g. (57%) mp. 8l-83C (recrystallised from methanol).

Example 48 Piperonaldehyde (30 g.), B-morpholinopropionitrile (40 g.), methanol ml.) and sodium methylate (1.5 g.) were heated together under relfux for 20 hr. Solvent was removed in vacuo and the residue recrystallised from ether, after treatment with aqueous sodium bisulphite, to give B-morpholino-ozpiperonylidenepropionitrile. Wt. 29 g. (53%) mp. 8085C (recrystallised from methanol).

Example 49 B-Morpholino-a-3,4,5-trimethoxybenzylidenepropionitrile (3 g.), dimethylsulphoxide (10 ml.) and sodium methoxide (0.1 g.) were heated together at 50-60C for 10 min. Work-up gave crystalline B-morpholino-a-3,4,5-trimethoxybenzylacrylonitrile. m.p. ll5-117C.

Example 50 The procedure of Example 49 was repeated using B-dimethylamino-a-3 ,4,5-trimethoxybenzylidenepropionitrile (4 g.) and on work-up gave ,B-dimethylamino- 01-3,4,5-trimethoxybenzylacrylonitrile. Wt. 3.2 g. (80%) mp. 1l9-l22C (recrystallised from methanol).

Example 51 The procedure of Example 49 was repeated using ,B-piperidino-a-3,4,5-trimethoxybenzylidenepropionitrile (3.5 g.) and in work-up gave B-piperidino-a-3,4,5- trimethoxybenzylacrylonitrile. Wt. 2.7 g. (77%) mp. 8992C.

Example 52 B-Dimethylamino-a-3,4,S-trimethoxybenzylidenepropionitrile (2 g.), hexamethylphosphoramide ml.). and sodium methoxide (0.05 g.) were heated together at 30C. Conversion to B-dimethylamino-a- 3,4,5-trimethoxybenzylacrylonitrile was complete in 1 min. and this compound was obtained on work-up. Wt. l g. (50%) mp. ll8-120C (recrystallised from 'methanol).

Example 53 B-DimethyIamino-a-3,4,5-trimethoxybenzylidenepropionitrile (2 g.), dimethylsulphoxide (10 ml.) and potassium-t-butoxide (0.05 g.) at 30 for l min. gave B-dimethylamino-a-3,4,5-trimethoxybenzylacrylonitrile. Wt. l g. (50%) mp. ll9-l2lC.

EXAMPLE 54 B-Dimethylamino-a-3,4,S-trimethoxybenzylidenepropionitrile (4 g.), hexamethylphosphoramide (10 ml.), and potassium-t-butoxide (0.05 g.) at 30C for l-2 min. gave B-dimethylamino-a-3,4,5-trimethoxybenzylacrylonitrile. Wt. 3 g. (75%) mp. l17-1l9C.

EXAMPLE 55 ,B-Dimethylamino-a-S,4,S-trimethoxybehzylidenepropionitrile (2g), dimethylsulphoxide (10 ml.). and 3 drops of a saturated solution of potassium hydroxide in methanol at 40C for 5 min. gave B-dimethylamino-a- 3,4,5-trimethoxybenzylacrylonitrile. Wt. 1.3 g. (65%) mp. ll8l20C.

EXAMPLE 56 The procedure as in Example 55 using hexamethylphosphoramide in place of dimethylsulphoxide in 2 min. gave ,8-dimethylamino-a-3,4,S-trimethoxybenzylacrylonitrile. Wt. 1.8 g. mp. l21123C.

EXAMPLE 57 The procedure as in Example 49 using B-pyrrolidinoa-3,4,5-trimethoxybenzylidenepropionitrile gave B-pyrrolidino-a-3,4,5-trimethoxybenzylacrylonitrile. m.p. l23-124C.

EXAMPLE 58 The procedure as in Example 52 using B-morpholinoa-3,4-dimethoxybenzylidenepropionitrile gave B- mpm ezitrdimethquesxxlqv r -b- EXAMPLE 59 The procedure as in Example 49 using B-morpholinoa-piperonylidenepropionitrile (5.0 g.) gave B-morpholino-a-piperonylacrylonitrile. Wt. 4.5 g. (90%) mp. 8284C.

EXAMPLE 60 The procedure as in Example 50 using N,N- dimethylacetamide in place of dimethylsulphoxide gave B-dimethylamino-a-3,4,5-trimethoxybenzylacrylonitrile in 83% yield. m.p. l2l-l23C.

EXAMPLE 61 The procedure as in Example 52 using benzyltrimethylammonium hydroxide in place of sodium methoxide gave ,B-dimethylamino-a-B,4,5-trimethoxybenzylacrylonitrile in 86% yield. m.p. l22l23C.

EXAMPLE 62 EXAMPLE 63 B-Hydroxy-a-S,4,5-trimethoxybenzylacrylonitrile (70 g.) in methanol ml.) at 10C was treated with dimethylsulphate (39 g.). To the mixture was then gradually added a solution of potassium hydroxide (20 g.) in methanol (30 ml.) and water 12 ml.) and the reaction was then kept at 10C for 15 min. The mixture was next heated to 60C for 15 min; then cooled; and finally solvent was removed to a residue which was slurried in water (100 ml.) and extracted into chloroform (2 X 80 ml.). The chloroform extract, after backwashing with water (70 ml.), drying, and treatment with charcoal, was evaporated to dryness to give B-methoxy-a-3,4,5-trimethoxybenzylacrylonitrile. Wt. 61 g. (80%).

EXAMPLE 64 B-Anilino-a-3,4,5-trimethoxybenzylacrylonitrile (32 g.) and a solution of guanidine hydrochloride (19 g.)

'(2-methyl-4',5'-dimethoxybenzyl)pyrimidine. Wt.

and sodium methoxide (13 g.) in denatured ethanol (100 ml.) were heated under reflux for 2 /2 hr. Solvent (31 ml.) was boiled off and the mixture was cooled to 5C. The resulting crystals of 2.4-diamino-5-(3',4,5- trimethoxybenzyl)pyrimidine were collected and washed with denatured ethanol and acetone. Wt. 27'

g. (94%) m.p. l98200C.

Using methanol in place of denatured alcohol gave 2,4diamino-5-( 3 ',4',5 '-trimethoxybenzyl )pyrimidine in 86% yield after 6 hr. reflux; with isopropanol the reaction was over in 2 hrs. and the yield was 78%.

EXAMPLE 65 The product from Example 6 was converted to 2,4- diamino-5-( 3 ',4',5 '-trimethoxybenzyl)pyrimidine by the procedure of Example 64 in 2 hr. Yield 90%.

EXAMPLE 66 The product from Example 7 was converted to 2,4- diamino-5-(3',4,5'-trimethoxybenzyl)pyrimidine by the procedure of Example 64 in 2 hr. Yield 90%.

EXAMPLE 67 The product from Example 8 was converted to 2,4- diamino-5-(3',4',5-trimethoxybenzyl)pyrimidine by the procedure of Example 64 in 4 /2 hr. Yield 90%.

EXAMPLE 68 The procedure of Example 64 was repeated using B-anilino-a-3,4-dimethoxybenzylacrylonitrile (29.4 g.) ans sa A-d amino--if,4 L nqh9 yb9n YD- pyrimidine. Wt.=25.5 g. (98%) m.p. 2 Q 2 33C.

EXAMPLE 69 The procedure of Example 64 was repeated using ,B-anilino-a-piperonylacrylonitrile (28 g.) and gave 2,4- diamino-S-piperonylpyrimidine. Wt. 22 g. (89.5%) m.p. 252253C (recrystallised from denatured alcohol).

EXAMPLE 70 The procedure of Example 64 was repeated using B-anilino-a-2-methyl-4,5-dimethoxybenzylacrylonitrile (16 g.) and after 18-20 hr. reflux gave 2,4-diamino-5- 11.5 g. (92%) m.p. 23023lC.

EXAMPLE 71 The procedure of Example 64 was repeated using B-anilino-a-3,4-dimethxy-5-bromobenzylacrylonitrile (62 g.) and gave 2,4-diamino--(3,4'-dimethoxy-5'- lggmobengybpyridimine. Wt. 38 g. (70%) m.p. 203.5-205C.

EXAMPLE 72 The procedure of Example 64 was repeated using B-anilino-a-p-benzyloxybenzylacrylonitrile (25 g.) and gave after 4 hr. reflux 2,4-diamino-S-(p-benzyloxybenzyl)pyrimidine. Wt. 20.5 g. This was converted to its acetate elby treetmsat with, as t .a tit wtilia.

EXAMPLE 73 2,4-Diamino-5-(p-benzyloxybenzyl)pyrimidine acetate (4.6 g.) in methanol (200 ml.) was hydrogenated at low pressure over 5% Palladium/Carbon. The filtrate after removal of catalyst was evaporated and the resulting residue purified by dissolution in hot dilute acetic acid and re-precipitation with ammonium hydroxide to pH 9. Crystalline 2,4-diamino-5-(-p-hydroxylbenzyl)- pyrimidine was collected and washed with water. Wt. 2.16 g. m.p. 300-303C.

EXAMPLE 74 B-Morpholino-a-3,4,5-trimethoxybenzylacrylonitrile (32 g.), guanidine carbonate (34 g.) and dimethylsulphoxide (50 ml.) were heated together at 160C for 1 hr. with good stirring. Thereaction mixture was cooled and poured into ice-water (200 ml. and gave 2,4-diamino-5-(3',4',5-trimethoxybenzyl)pyrimidine which was-collected and washed with water and acetone. Wt. 23.6 g. (80%) m.p. l96l98C.

EXAMPLE 75 The procedure of Example 74 was repeated using B-N-methylanilino-a-3,4,5-trimethoxybenzylacrylonitrile and gave 2,4-diamino-5-(3',4',5'-trimethoxybenzyl)pyrimidine.

EXAMPLE 76 The procedure of Example 74 was repeated using ,B-piperidino-a-3,4,5-trimethoxybenzylacrylonitrile and gave 2,4-diamino-5(3',4',5'-trimethoxybenzyl)- pyrimidine.

EXAMPLE 77 The procedure of Example 74 was repeated using B-pyrrolidino-a-3,4,5-trimethoxybenzylacrylonitrile and gave 2,4-diamino-5-(3',4',5'-trimethoxybenzyl)- pyrimidine.

EXAMPLE 78 The procedure of Example 74 was repeated using ,B-dimethylamino-a-3,4,5-trimethoxybenzylacrylonitrile and gave 2,4-diamino-5-(3',4',5-trimethoxybenzyl)pyrimidine.

EXAMPLE 79 The procedure of Example 74 was repeated using B-benzylamino-a-3,4,5-trimethoxybenzylacrylonitrile and gave 2,4-diamino-5-(3,4,5-trimethoxybenzyl)- pyrimidine.

EXAMPLE 80 The procedure of Example 74 was repeated using B-morpholino-a-3,4-dimethoxybenzylacrylonitrile and gave 2,4-diamino-5-(3,4-dimethoxybenzyl)pyrimidine.

EXAMPLE 83 The procedure of Example 74 was repeated using B-morpholino-a-3,4,-dimethoxy-5- EXAMPLE 84 The procedure of Example 64 was repeated using B-methoxy-a-3,4,5-trimethoxybenzylacrylonitrile (54 g.) and after 20 hr. reflux gave 2,4-diamin-5-(3',4',5'- trimethoxybenzyl)pyridmine. Wt. 56 g. (94%) m.p. l98-200C.

EXAMPLE 87 B-hydroxy-a-3,4,5-trimethoxy-benzylacrylonitrile 25 grams, denatured ethanol (70 ml.) 2,4-dimethyl aniline 14 ml.) refluxed together for 1 hr. Solvent removed by evaporation and vacuum and the residue was poured into ice water. The resulting thick gum was collected and recrystallized from methanol to give crystaline ,B-2- ,4-dimethylanidino-a-3,4,5-trimethoxybenzylacrylonitrile. Wt. Hg. (31% yield) M.P. 123-125 C.

EXAMPLE 88 Procedure of Example 87 was repeated using 3,4,5- trimethoxyaniline and gave [3-3,4,5-trimethoxybenzylacrylonitrile in 65% yield. M.P. l56-l6lC. Recrystallized from denatured ethanol.

EXAMPLE 89 Procedure of Example 87 was repeated using 2,5- dichloroaniline and gave B-2,5,-dichloroanilino -0z-3,4,- 5-trimethoxybenzylacrylonitrile. g, 51% yield. A sample recrystallized from denatured ethanol melted at 130 C, resolidified, and then remelted at 150C.

EXAMPLE 90 Procedure of Example 87 was repeated using a-naphylamine 14.3gr. and gave crystaline B-lnapthylamino -a-3,4,5 -trimethoxybenzylacrylonitrile. Wt. 26 gr. 70% yield, melting pt. l07l09C.

EXAMPLE 91 The product from Example 87 was converted to trimethoprim by the procedure of Example 64 in 4 hrs. Yield 92%.

EXAMPLE 92 The product from Example 88 was converted to trimethoprim by the procedure of Example 64 in 3 hrs. Yield above 90%.

EXAMPLE 93 The product from Example 89 was converted to trimethoprim by the procedure of Example 64 in 1.5 hrs. Yield 95%. This reaction was repeated as in Example 64 except at room temperature and useful yield of trimethoprim was obtained in several hrs.

EXAMPLE 94 The product from Example 90 was converted to trimethoprim by the procedure of Example 64 in several hrs. Yield 72%.

EXAMPLE 95 Methyla-( 3 ,4,5-trimethoxyacetophenone) Sulphone Charge into a 500 ml. three necked flask equipped with stirrer and reflux condenser, 27 gms. (0.69M) sodium amide, 225 ml. dimethylsulphoxide and 56.5 gm. dimethylsulphone (0.6M). Heat to 55C for 1 hour with stirring, and cool to 50C. Add 65.4 gm. (0.29M) 3,4,5- trimethoxymethylbenzoate and heat to 60C for 1 hour to complete the reaction.

Pour the mixture onto 1,100 gm. of ice and acidify with 180 ml. dilute HCL (1:1). Cool in an ice bath and filter the crystalline product. Wash with 2 X 150 ml. of ice water and 2 X 100 ml. ice cold lower alcohol such 1 as ethanol. Air dry overnight or vacuum dry at C to constant weight. The yield will be 74 gm. or 88% of theory of suitable intermediate for the next step.

A.N. Sample M.P. l47l48C Recrystallized from Ethanol trimethoxyacetophenone) sulphone to the corresponding alcohol Set up a 3 neck 1 liter flask equipped with a stirrer in an ice bath. Charge with 38.1 gm. of methyl or (3,4,5- trimethoxyacetophenone) sulphone, 100 ml. desalted water and 30 ml. ethanol and cool this slurry to +15C. Add portion wise a precooled solution of 2 gm. sodium borohydride in 40ml. desalted water. The first few ml.

will cause a slight foaming but it can be controlled easily with a few ml. of ethanol. Additional ethanol can be used to wash down the sides of the reaction flask.

At the end of the addition of the borohydride remove the cooling bath and stir for 1 hour. Completion of the reaction is checked by U.V. Cool the slurry to +2C and filter all solids. Wash with small amounts of ice water and dry in vacuum oven at 50C to constant weight. The yield will be 34.2 gm. or 89.3% of theory.

A.N. Sample M.P. 153-154C Recrystallized from ethanol Calculated Found EXAMPLE 97 w-(Methylsulfinyl)3 ,4,5Trimethoxyacetophenone Into a three necked flask, equipped with condenser, stirrer and thermometer, charge 4.0 gm. sodium amide (hexane washed) and 75 ml. dimethyl sulphoxide (distilled and dried). Slowly warm (in an external water bath) to 45C and the reaction begins. Raise temperature gradually to 60C and maintain for 1 hour, to complete.

Cool to and add dropwise a solution of 12 gm. 3,4,5-trimethoxymethylbenzoate in 25 ml. of dimethylsulphoxide. Keep the temperature between -25C by external cooling. Stir one-half hour at room temperature and quench into 300 ml. ice water. Carefully acidify to pH 5-6 with cold dilute hydrochloric acid.

Extract into chloroform 3 X 100 ml. wash the organic layer with 4 X 50 ml. water, dry over sodium sulphate, filter and flash evaporate all solvent.

The heavy oil will weigh 15 gm. and slowly crystallize on standing.

To purify; dissolve the thick oil in 75 ml. ethyl acetate, charcoal and cool the filtrate in an ice acetone bath. Filter and dry the white solid. Wt. 10 gm. z 70% yield. M.P. 1l3-115C.

A.N. Sample M.P. 115-116C Recrystallized from acetone Calculated Found EXAMPLE 98 B-HydroxyB-3,4,5-trimethoxyphenethylmethylsulphoxide trimethoxyacetophenone, 50 ml. desalted water and 35 ml. methanol. Cool to +15C and with magnetic stirring add slowly-a solution of 0.5 gm. sodium borohydride in 10 ml. water. The reaction is exothermic but can be controlled between l5-20C with external cooling.

Stir at room temperature for 2 hours, check for completion by U.V. and finally strip off methanol by vacuum at 45-50C.

Extract the aqueous solution with 3 X ml. chloroform, wash with organic layer 1 X 75 ml. water, dry over magnessium sulphate, filter and evaporate to a clear thick oil. A few drops of ethyl acetate causes complete crystallization. Weight 14 gm. This is suitable for use in the next step without further purification. A.N. Sample M.P. l50l55C (lsomers) Recrystallized from Ethyl Acetate.

Calculated Found* Hexamethylphosphoramide has been substituted for the dimethyl sulphoxide as well as potzmium hydroxide in methanol for the sodium methylate with the same results in all cases.

CHNHPh CHaO- -CHr-G Combine in a flask at room temperature 5.4 gm. B-hydroxy-B-3,4,5-trimethoxyphenethyl methyl sulphoxide, 3 gm. B-anilinopropionitrile, 25 ml. dimethylsulphoxide and 2.0 gm. sodium methylate. Warm slowly with stirring, on a steam bath up to -95C. It gets very dark in color. Reaction, by U.V., is complete in 20 minutes at C. v

Quench in ice water and wash the dark oily precipitate by decantation. Dissolve in 15 ml. of ethanol and cool. Filter the heavy yellow crystalline precipitate, wash with cold ethanol and hexane. Dry. Wt. 2 gm. z 31% yield. The U.V., l.R., and M.P. are identical to that prepared from the 3,4,5-trimethoxybenzaldehyde and B-anilinopropionitrile. Ph phenyl.

EXAMPLE oz (3,4,5-tri-methoxybenzyl)-B-anilinoacrylonitrile CHaO CHNHPh In a three neck flask equipped'with stirrer, condenser and thermometer, charge 29 gm.B-hydroxy-B-3,4,5- trimethoxyphenethymethylsulphone, 16.5 gm. B-anilinopropionitrile and 40 ml. dimethylsulphoxide. Warm to 40C with stirring, and gradually add 83 m1. of a 13.6% solution of potassium tertiary butoxide in tertiary butanol. Maintain internal temperature at 45C for 1 hour and check for completion by U.V.

Strip as much alcohol as possible by vacuum using an external water bath (70C) and quench in ice water (200 ml.). Stir until the thick oil turns crystalline and filter. Wash the cake with ice water and finally hexane. Vacuum dry at 35C to constant weight. The yield will be 32 gm.* or theory of crudea-(3,4,5- trimethoxybenzyl-B-anilinoacrylonitrile). The UN. is satisfactory and it may be used directly in the preparation of Trimethoprim. Recrystallisation Dissolve the crude intermediate in 75 ml. hot ethanol. cool in ice- /acetone bath (preferably overnight) and filter. Wash the cake with cold ethanol (15 ml.) and hexane. Vacuum dry. Weight 26+ gm/ 80% yield.

EXAMPLE 101 Trimethoprim 2,4-diamino--(3,4,5'- r msthowbqwlmxtimidin Prepare a guanidine solution from gm. guanidine HCl, 10 gm. sodium methylate, and 100 ml. ethanol. Cool, filter salt free, and combine with 16 gm. a(3,4,5- trimethoxybenzyl)B-anilinoacrylonitrile. Reflux in a steam bath overnight, charcoal the hot solution with 2.0 gm. Darco 0-60 and evaporate to one-fourth volume. Cool the complete crystallization, filter, and wash with cold ethanol, acetone, and ether. Dry. Weight 13+ gm.=9l% theory. M.P. 198200C.

EXAMPLE 102 B-HydroxyB-3,4,5-trimethoxyphenethylmethylsulphoxide Sodium methylate (5.4 gm.) was dissolved in hot dimethylsulfoxide (50 ml.), the solution was cooled to room temperature, 3,4,5-trimethoxybenzaldehyde (18 gm.) was added, and the mixture was stirred at room temperature for 2 hours. Water (100 ml.) was then added to the mixture which was next extracted with chloroform. The chloroform extract was washed with water, dried over anhydrus sodium sulfate, and evaporated to dryness. The residual yellow oil crystallised on addition of ethylacetate. The crystals were collected and washed with pentane. Wt. 14.8 gm. (59%) M.P. l60-l62C (After recrystallization from ethylacetate.) [.R. and UV. spectra in agreement with structure.

Calculated Found What is claimed is: 1. In the method of preparing a compound of the formula l the step of combining the compound of the formula 11 and aniline and permitting them to react, in the above formulas R R are the same or different and each is a hydrogen or halogen atom, loweralkyl, lowerakloxy or benzyloxy, or R and R taken together may be a methylenedioxy group when both R and R are hydrogen atoms, and NR H is anilino in Formula I.

2. In the method of claim 1 in which the compound of formula 11 and aniline are heated while combined.

3. In the method of claim 2 in which (Bhydroxy-a- 3,4,5-trimethoxybenzylacrylonitrile is reacted with aniline.

4. The method of making B-anilino-a-3,4,5- trimethoxybenzylacrylonitrile by combining B-hydroxy-a-3,4,5-trimethoxybenzylacrylonitrile with aniline and permitting them to react. 

1. IN THE METHOD OF PREPARING A COMPOUND OF THE FORMULA
 2. In the method of claim 1 in which the compound of formula II and aniline are heated while combined.
 3. In the method of claim 2 in which ( Beta hydroxy- Alpha -3,4, 5-trimethoxybenzylacrylonitrile is reacted with aniline.
 4. The method of making Beta -anilino- Alpha -3,4,5-trimethoxybenzylacrylonitrile by combining Beta -hydroxy- Alpha -3,4,5-trimethoxybenzylacrylonitrile with aniline and permitting them to react. 